import request from '@/utils/request'

//收藏企业
export function saveCompany(id) {
  return request({
    url: '/pms/pmsFavor/companySave/'+id,
    method: 'get',
  })
}


//收藏招聘信息
export function savePost(id) {
  return request({
    url: '/pms/pmsFavor/postSave/'+id,
    method: 'get',
  })
}

//查看收藏的公司
export function getFavorCompany(data) {
  return request({
    url: '/pms/pmsFavor/getFavorCompany',
    method: 'post',
    data:data
  })
}

//查看收藏的招聘信息
export function getFavorPost(data) {
  return request({
    url: '/pms/pmsFavor/getFavorPost',
    method: 'post',
    data:data
  })
}

//根据ID删除收藏的喜欢信息
export function deleteFavor(id) {
  return request({
    url: '/pms/pmsFavor/delete/'+id,
    method: 'get',
  })
}









